package com.white.shm.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import lombok.Data;

/**
 * 用户信息
 *
 * @author Administrator
 */
@Data
@Entity
@Table(name = "shm_user", schema = "db_secondhandmarket")
public class User extends BaseEntity {

    /** serialVersionUID */
    private static final long serialVersionUID = -3640887940363863180L;
    /** 账号 */
    @Column(name = "account")
    private String account;
    /** 密码 */
    @Column(name = "pwd")
    private String pwd;
    /** 昵称 */
    @Column(name = "nike_name")
    private String nikeName;
    /** 真实姓名 */
    @Column(name = "real_name")
    private String actualName;
    /** 头像编号（1.2.3.4） */
    @Column(name = "head_img")
    private int avatar;
    /** 性别 */
    @Column(name = "sex")
    private String sex;
    /** 生日 */
    @Column(name = "birth")
    private Date birth;
    /** 宿舍 */
    @Column(name = "dorm")
    private String dorm;
    /** QQ */
    @Column(name = "qq")
    private String qq;
    /** 电话 */
    @Column(name = "tel")
    private String tel;
    /** 简介 */
    @Column(name = "intro")
    private String intro;

}
